<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>组件中心 - 线框图原型</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      background: #f6f7fb;
      font-family: Arial, sans-serif;
    }
    .header-bar {
      background: #fff;
      padding: 16px 32px 0 32px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #e0e0e0;
    }
    .breadcrumb {
      color: #888;
      font-size: 0.95rem;
      flex: 1;
    }
    .user-bar {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .main {
      margin: 0 auto;
      max-width: 1200px;
      padding: 24px 0 0 0;
    }
    .banner {
      background: linear-gradient(90deg, #6a9cfb 0%, #a084ee 100%);
      color: #fff;
      border-radius: 24px;
      padding: 48px 32px;
      margin-bottom: 24px;
      text-align: center;
      font-size: 2rem;
      font-weight: bold;
      position: relative;
    }
    .banner-desc {
      font-size: 1.1rem;
      font-weight: normal;
      margin-top: 12px;
      color: #e0e0e0;
    }
    .search-section {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      padding: 32px 24px 24px 24px;
      margin-bottom: 32px;
      text-align: center;
    }
    .search-title {
      color: #a084ee;
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 12px;
    }
    .search-row {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 16px;
    }
    .search-input, .search-select {
      padding: 10px 16px;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      font-size: 1rem;
      background: #f6f7fb;
      min-width: 200px;
    }
    .btn-primary {
      background: #a084ee;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 10px 20px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      margin-left: 8px;
    }
    .component-list {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin-bottom: 24px;
      justify-content: flex-start;
    }
    .component-card {
      flex: 0 0 260px;
      background: #fff;
      border-radius: 18px;
      padding: 24px 18px;
      text-align: left;
      font-size: 1.1rem;
      font-weight: bold;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      display: flex;
      flex-direction: column;
      gap: 8px;
      position: relative;
    }
    .component-title {
      color: #6a9cfb;
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 4px;
    }
    .component-desc {
      color: #888;
      font-size: 0.98rem;
      font-weight: normal;
      margin-bottom: 8px;
    }
    .component-actions {
      display: flex;
      gap: 8px;
      margin-top: 8px;
    }
    .btn-secondary {
      background: #f6f7fb;
      color: #6a9cfb;
      border: 1px solid #a084ee;
      border-radius: 8px;
      padding: 8px 14px;
      font-size: 0.98rem;
      cursor: pointer;
    }
  </style>
</head>
<body>
  <div class="header-bar">
    <div class="breadcrumb">首页 / 组件中心</div>
    <div style="flex:1"></div>
    <button class="btn-primary">+ 新增组件</button>
    <div class="user-bar">
      <span style="font-size:1.1rem; color:#888;">superadmin</span>
    </div>
  </div>
  <div class="main">
    <div class="banner">
      <div>🧩 组件中心</div>
      <div class="banner-desc">常用业务组件集合，提升开发效率与复用性</div>
    </div>
    <div class="search-section">
      <div class="search-title">🔍 查找组件</div>
      <div style="color:#888; font-size:0.98rem; margin-bottom:8px;">通过名称、类型或标签筛选组件</div>
      <div class="search-row">
        <input class="search-input" type="text" placeholder="搜索组件名称或标签..." />
        <select class="search-select">
          <option>选择类型</option>
        </select>
        <select class="search-select">
          <option>选择标签</option>
        </select>
        <button class="btn-primary">+ 新增组件</button>
      </div>
    </div>
    <div class="component-list">
      <div class="component-card">
        <div class="component-title">表格组件</div>
        <div class="component-desc">支持分页、排序、筛选的高性能表格</div>
        <div class="component-actions">
          <button class="btn-secondary">预览</button>
          <button class="btn-secondary">编辑</button>
        </div>
      </div>
      <div class="component-card">
        <div class="component-title">表单组件</div>
        <div class="component-desc">灵活配置、支持多种校验规则的表单</div>
        <div class="component-actions">
          <button class="btn-secondary">预览</button>
          <button class="btn-secondary">编辑</button>
        </div>
      </div>
      <div class="component-card">
        <div class="component-title">图表组件</div>
        <div class="component-desc">多种类型图表，支持自定义样式</div>
        <div class="component-actions">
          <button class="btn-secondary">预览</button>
          <button class="btn-secondary">编辑</button>
        </div>
      </div>
      <div class="component-card">
        <div class="component-title">弹窗组件</div>
        <div class="component-desc">支持多种弹窗样式与交互</div>
        <div class="component-actions">
          <button class="btn-secondary">预览</button>
          <button class="btn-secondary">编辑</button>
        </div>
      </div>
    </div>
  </div>
</body>
</html>
